package mbms.mobilebudget.entity;

import java.io.Serializable;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable(tableName="exchange")
public class Exchange implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 7990131607395732056L;
	@DatabaseField(generatedId = true)
	private Integer id;
	@DatabaseField
	private Double gold;
	
	@DatabaseField
	private Double dollar;
	
	@DatabaseField
	private Double euro;

	public Exchange(){
		
	}
	public Exchange(Integer id, Double gold, Double dollar, Double euro) {
		super();
		this.id = id;
		this.gold = gold;
		this.dollar = dollar;
		this.euro = euro;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Double getGold() {
		return gold;
	}

	public void setGold(Double gold) {
		this.gold = gold;
	}

	public Double getDollar() {
		return dollar;
	}

	public void setDollar(Double dollar) {
		this.dollar = dollar;
	}

	public Double getEuro() {
		return euro;
	}

	public void setEuro(Double euro) {
		this.euro = euro;
	}
	
	
	

}
